package com.glodon.paas.document.api.bean;

import java.util.Date;

import com.glodon.paas.account.api.bean.User;

public class ProjectMember {

    private String id;
    private String memberName;
    private String userId;
    private String roleId;
    private String groupId;
    // 0:invited;1:accepted;2:reject;3:removed;
    private int    status;
    // 0:common user;1:group
    private int    memberType;
    private String projectId;
    private Date   createTime;
    private Date   updateTime;
    private User    owner;
    //0:editable,1:uneditable
    private int editable=0;
    private String memberId;
    private int isOrg;
    
    public int getIsOrg() {
        return isOrg;
    }

    
    public void setIsOrg(int isOrg) {
        this.isOrg = isOrg;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getMemberType() {
        return memberType;
    }

    public void setMemberType(int memberType) {
        this.memberType = memberType;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    
    public User getOwner() {
        return owner;
    }

    
    public void setOwner(User owner) {
        this.owner = owner;
    }

    
    public int getEditable() {
        return editable;
    }

    
    public void setEditable(int editable) {
        this.editable = editable;
    }

    
    public String getMemberId() {
        return memberId;
    }

    
    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }


    
    public String getId() {
        return id;
    }


    
    public void setId(String id) {
        this.id = id;
    }
}
